package cn.hy.mq;

import cn.hy.dto.UserDto;
import lombok.Data;

@Data
public class MqSecKillMessage {

    private UserDto user;
    private Long goodsId;


    public MqSecKillMessage(UserDto user, Long goodsId) {
        this.user = user;
        this.goodsId = goodsId;
    }

    public MqSecKillMessage() {
    }
}
